package com.turi.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum ResultEnum {

    SUCCESS(200, "操作成功！"),
    SYSTEM_ERROR(500, "系统异常！"),
    USERNAME_PASSWORD_ERROR(500, "用户名或密码错误！");

    /**
     * 响应码
     */
    int code;

    /**
     * 响应消息
     */
    String message;
}